package com.yh.bean;


//出售商品表
public class Goods {
	
	private int gid;//商品id
	private int u_Id;//用户id
	private int g_gz_gc_id;//游戏表_分区表_商品分类id
	private String gname;//商品名称
	private double gprice;//商品价格
	private String gphoto;//商品图片
	private int gsum;//商品数量
	private String gdetail;//商品备注
	private String gtime;//商品上架时间
	private int status;//商品状态
	private String goodsAllClass;
	
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public int getG_gz_gc_id() {
		return g_gz_gc_id;
	}
	public void setG_gz_gc_id(int g_gz_gc_id) {
		this.g_gz_gc_id = g_gz_gc_id;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public double getGprice() {
		return gprice;
	}
	public void setGprice(double gprice) {
		this.gprice = gprice;
	}
	public String getGphoto() {
		return gphoto;
	}
	public void setGphoto(String gphoto) {
		this.gphoto = gphoto;
	}
	public int getGsum() {
		return gsum;
	}
	public void setGsum(int gsum) {
		this.gsum = gsum;
	}
	public String getGdetail() {
		return gdetail;
	}
	public void setGdetail(String gdetail) {
		this.gdetail = gdetail;
	}
	public String getGtime() {
		return gtime;
	}
	public void setGtime(String gtime) {
		this.gtime = gtime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getGoodsAllClass() {
		return goodsAllClass;
	}
	public void setGoodsAllClass(String goodsAllClass) {
		this.goodsAllClass = goodsAllClass;
	}
	public int getU_Id() {
		return u_Id;
	}
	public void setU_Id(int u_Id) {
		this.u_Id = u_Id;
	}
	
	@Override
	public String toString() {
		return "Goods [gid=" + gid + ", u_Id=" + u_Id + ", g_gz_gc_id="
				+ g_gz_gc_id + ", gname=" + gname + ", gprice=" + gprice
				+ ", gphoto=" + gphoto + ", gsum=" + gsum + ", gdetail="
				+ gdetail + ", gtime=" + gtime + ", status=" + status
				+ ", goodsAllClass=" + goodsAllClass + "]";
	}
}
